package cn.ulc.store.dao.goods;

import cn.ulc.store.dao.BaseDao;
import cn.ulc.store.entity.goods.GoodsUnit;
import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;

/*
* GoodsUnit
* gen by Jin mapper 2019-05-29
*/
@SqlResource("goods.goodsUnit")
public interface GoodsUnitDao extends BaseDao<GoodsUnit> {

    List<GoodsUnit> findList(String name,Long companyId);

    Integer findMaxSort(Long companyId);

    List<GoodsUnit> findBySort(Integer begin, Integer end,Long companyId);


}
